projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9ee00
)
(deactivate_process) [SVR4_PTYS]: If subtty is not nil, close it.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 23 Dec 1993 01:22:23 +0000
(
01:22
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 23 Dec 1993 01:22:23 +0000
(
01:22
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 105e055b180e7f3ac3fb1a10cee993bbf1b01222..408a2579ef08db09c0c96a8cc2ddb4259c9b7505 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1524,6
+1524,10
@@
deactivate_process (proc)
close (inchannel);
if (outchannel >= 0 && outchannel != inchannel)
close (outchannel);
+#ifdef SYSV4_PTYS
+ if (!NILP (p->subtty))
+ close (XINT (p->subtty));
+#endif
#endif
XSET (p->infd, Lisp_Int, -1);